<html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/stylesheets/style.css" />
    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css" />
    <style>
    </style>
</head>
<body>
   <div id="app">
       <router-view></router-view>
      
   </div>
</body>
<!-- import Vue before Element -->
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="https://unpkg.com/vue-router/dist/vue-router.js"></script>
<!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<!--引入 axios  -->
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>
    const routes = [{
        path:"/login",
        component:()=>import("./javascripts/login.js")
    },
    {
        path: "/dashboard",
        component:()=>import("./javascripts/Dashboard.js")
      },
];
    let router = new VueRouter({
        routes
    })
let vue = new Vue({
    router,
    el:"#app",
    data:{},
})
</script>
</html>